package com.itheima.dao;

import com.itheima.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderDao {
    //添加预约信息
    void add(Order order);

    List<Order> findByDate(@Param("id") Integer id, @Param("orderDate") String orderDate);

    Order findById(@Param("id") Integer id);

    List<Map<String,Object>> getSetmealReport();

    Long todayOrderNumber(String today);

    List<Map<String, Object>> getHostSetmeal();

    Long todayVisitsNumber(String today);

    Long getOrderNumberByAfterDay(String thisWeekMonday);

    Long getVisitNumberByAfterDay(String thisWeekMonday);
}
